package com.zdj.valuepass;

import com.zdj.common.User;

/**
 * @author zhangdj
 * @date 2024/12/17
 */
public class Main {

    public static void main(String[] args) {
        User user = new User();
        user.setName("name");
        user.setAddress("address");
        pass(user);
        System.out.println(user);
    }

    public static void pass(User user) {
        user = new User();
        user.setName("pass name");
        System.out.println(user);
    }
}
